<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精灵图</title>
    <style>
        span {
            display: inline-block;
            background: url(images/abcd.jpg) no-repeat;
        }

        .z {
            height: 109px;
            width: 109px;
            background-position: -481px -558px;
        }
        .q {
            height: 114px;
            width: 114px;
            background-position: -4px -416px;
        }
        .n {
            height: 117px;
            width: 117px;
            background-position: -253px -273px;
        }
    </style>
</head>

<body>
    <span class="z"></span>
    <span class="q"></span>
    <span class="n"></span>
</body>

</html>